<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ include file="/WEB-INF/views/include/head.jsp"%>
<%@page import="com.boxin.ims.modules.momarketing.common.QRCodeUtils"%>
<!DOCTYPE html>
<html lang="zh-CN" >
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="format-detection" content="telephone=no" />
<title>会员中心</title>
<link rel="stylesheet" type="text/css" href="${ctxStatic}/member/themes/fashion/css/user.css" />
<link rel="stylesheet" type="text/css" href="${ctxStatic}/member/themes/fashion/css/font-awesome.css" media="all">

<style type="text/css">
/*footer*/
#footer {background-color:#d5d5d6;border-top:1px solid #b5b5b5;height:150px;text-align:center;}
#footer p {margin-top:10px;color:#555;font-size:12px;text-shadow:1px 1px 0 #fff;font-family:'Microsoft Yahei';}
#footer p a {font-size:14px;color:#555;text-shadow:none;}
#footer p img.unicom{vertical-align:middle;margin-right:5px;}
#footer .icon{ margin-right: 5px;vertical-align: -3px;}
</style>
</head>
<body>
<div class="body">
 <div class="backg">
 <div class="backg1"></div>
    <div class="card">
     <div class="x-info">
     <img src="${ctxUser }/memberCard/${wechatMember.number}.png" style="width:80%">
     </div>
      <div class="user-info">
        <div class="name">欢迎您，${wechatMember.name }</div>
        <div class="remain">性别：${wechatMember.sex}</div>
        <div class="remain">帐号余额：￥
        	<c:if test="${wechatMember.money eq null}">0</c:if>
          	<c:if test="${wechatMember.money ne null}">
          		<c:if test="${wechatMember.money eq 0}">0</c:if>
          		<c:if test="${wechatMember.money ne 0}">
		       		<fmt:formatNumber value="${wechatMember.money /100 }" pattern="##.##"  minFractionDigits="2"/>
          		</c:if>
          	</c:if>
                    元</div>
        <div class="remain">积分：
        	<c:if test="${wechatMember.score eq null}">0</c:if>
          	<c:if test="${wechatMember.score ne null}">
          		<c:if test="${wechatMember.score eq 0}">0</c:if>
          		<c:if test="${wechatMember.score ne 0}">
		       		<fmt:formatNumber value="${wechatMember.score/1000 }" pattern="#,###.###"  minFractionDigits="3"/>
          		</c:if>
          	</c:if>
        </div>
        <div class="remain">暗号：${wechatMember.recommendCode }</div>
      </div>
    </div>
    <div style="min-height: 230px;">
	    <c:if test="${goodsNumber>0 }">
		    <ul class="">
		       <li> 尊贵的会员您还有${goodsNumber }个注册大礼包没有领取。请点击下方<span style="color:red;">【我的物品】</span>进行领取</li>
		    </ul>
	    </c:if>
		<ul class="round">
	       <li><i class="icon-gift"></i><a href="${ctxFront}/member/myGoods?uid=${uid}&wechatId=${wechatId}&style=${style}">我的物品</a></li>
	    </ul>
	    <ul class="round"> 
	    	
	        <li><i class="icon-file"></i>
	            <a href="${ctxFront}/member/myConsume?uid=${uid}&wechatId=${wechatId}&style=${style}">消费记录</a>
	        </li>
	        <li><i class="icon-tags"></i>
	            <a href="${ctxFront}/member/mycommend?uid=${uid}&wechatId=${wechatId}&style=${style}">我的推荐</a>
	        </li>
	        <!-- <li><i class="icon-flag"></i>
	            <a href="javascript:void(0)">在线充值</a>
	        </li> -->
	    </ul>
	     <ul class="round"> 
	     <c:set var="isShopping" value="${fns:getProjectIsShopping(uid)}"/>
	       <c:if test="${isShopping eq 0 }">
			        <li><i class="icon-key"></i>
			            <a href="${ctxFront}/member/toupdatePwd?uid=${uid}&wechatId=${wechatId}&style=${style}">修改密码</a>
			        </li>
	       </c:if>
	      
	        <li><i class="icon-cogs"></i>
	            <a href="${ctxFront}/member/doUpdatePersonInformation?uid=${uid}&wechatId=${wechatId}&style=${style}">修改个人资料</a>
	        </li>
	        <%-- <c:if test="${empty wechatMember.payPassword  }">
	         <li><i class="icon-lock"></i>
	            <a href="${ctxFront}/member/dopayPassword?uid=${uid}&wechatId=${wechatId}&style=${style}">&nbsp;设置支付密码</a>
	        </li>
	        </c:if>
	         <c:if test="${!empty wechatMember.payPassword  }">
	         <li><i class="icon-lock"></i>
	            <a href="${ctxFront}/member/doupdatepayPassword?uid=${uid}&wechatId=${wechatId}&style=${style}">&nbsp;设置支付密码</a>
	        </li>
	         </c:if> --%>
	     </ul>
	     <ul class="round"> 
            <li><i class="icon-star"></i>
                <a href="${ctxFront }/member/myActivity?uid=${uid}&wechatId=${wechatId}&style=${style}&topage=${topage}">活动中心</a>
            </li>
        </ul> 
    </div>
    
    <c:if test="${uid ne '34' }">
	  <div class="footer">
        <p><!-- 版权所有&copy;&nbsp;&nbsp;  --><br>
		技术支持：<a href="http://www.hdzhx.com/boxin/index.html" >智讯互联</a><!-- &nbsp;&nbsp;	
		<a href="tel:03107056607">0310-7056607</a> -->
      </div>
	</c:if>
  </div>
    
 </div>  
</body>
</html>
